.search {
  width: 1200px;
  margin: 0 auto;
  .logo {
    width: 514.37px;
  }
  .search-right {
    display: flex;
    .search-input {
      width: 383px;
      height: 38px;
      border-radius: 23px 23px 23px 23px;
      opacity: 1;
      border: 1px solid #23a26c;
      display: flex;
      margin-right: 19px;
      input {
        width: 310px;
        height: 38px;
        margin-top: -1px;
        border: 1px solid #23a26c;
        border-radius: 23px 0 0 23px;
        text-indent: 2em;
        &:focus {
          border: 1px solid #23a26c;
        }
      }
      .look {
        width: 72px;
        height: 38px;
        background: #23a26c;
        border-radius: 2px 23px 23px 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }
    }
    .buyer {
      display: flex;
      width: 136px;
      height: 38px;
      background: #23a26c;
      opacity: 1;
      justify-content: center;
      align-items: center;
      font-size: 19px;
      cursor: pointer;
      font-family: Source Han Sans CN-Regular, Source Han Sans CN;
      font-weight: 400;
      color: #ffffff;
      img {
        width: 30px;
        height: 30px;
        margin-right: 5px;
      }
    }
  }
  padding: 20px;
  justify-content: space-between;
  display: flex;
}
.nav {
  display: flex;
  height: 60px;
  width: 1200px;
  margin: 0 auto;
  align-items: center;
  border-bottom: 5px solid #23a26c;
  a {
    padding: 0 20px;
    text-decoration: none;
    color: #333333;
    &.active {
      color: #23a26c;
    }
  }
}

#promotion {
  width: 1200px;
  margin: 30px auto;
  display: flex;
  justify-content: space-between;
  .promotion-left {
    width: 900px;
    height: 559px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
    border-radius: 0px 0px 0px 0px;
    opacity: 1;
    border: 1px solid #5bbb92;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    .shop-list {
      width: 270px;
      margin-right: 23px;
      margin-bottom: 15px;
      &:nth-last-of-type(3n) {
        margin-right: 0;
      }
      .cover {
        width: 265px;
        height: 168px;
        background: #ffffff;
        border-radius: 0px 0px 0px 0px;
        opacity: 1;
        border: 1px solid #707070;
        img {
          display: block;
          width: 100%;
          height: 100%;
        }
      }
      .title {
        width: 262px;
        font-size: 18px;
        font-family: Segoe UI-Semibold, Segoe UI;
        font-weight: 600;
        color: #303133;
        white-space: normal; //使文本可以多行显示
        text-overflow: ellipsis; //使多余的部分用省略号来代替
        overflow: hidden; //隐藏多余的部分
        display: -webkit-box; //浮动布局
        -webkit-line-clamp: 2; //显示的行数
        -webkit-box-orient: vertical; //垂直排列
      }
      .info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 8px;
        .price {
          height: 13px;
          font-size: 11px;
          font-family: Source Han Sans CN-Bold, Source Han Sans CN;
          font-weight: bold;
          color: #23a26c;
          display: flex;
        }
        .ck {
          width: 66px;
          height: 26px;
          background: #23a26c;
          border-radius: 22px 22px 22px 22px;
          opacity: 1;
          display: flex;
          color: #fff;
          font-size: 13px;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          user-select: none;
        }
      }
    }
  }
  .promotion-right {
    width: 270px;
    height: 529px;
    background: #ffffff;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16),
      inset 0px 3px 6px 1px #5bbb92;
    border-radius: 0px 0px 0px 0px;
    opacity: 1;
    border: 1px solid #5bbb92;
    .income {
      width: 117px;
      height: 116px;
      box-shadow: inset 0px 0px 37px 1px #23a26c;
      opacity: 1;
      border: 1px solid #23a26c;
      background: url('../img/组 360.png');
      border-radius: 50%;
      overflow: hidden;
      margin: 13px auto;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #23a26c;
      font-size: 21px;
      font-weight: bold;
    }
    .more {
      display: flex;
      justify-content: space-between;
      box-sizing: border-box;
      padding: 0 20px;
      font-weight: 600;
      color: #6b6d72;
      margin: 16px 0 20px;
    }
    .title {
      width: 240px;
      height: 50px;
      line-height: 50px;
      font-size: 21px;
      font-family: Source Han Sans CN-Bold, Source Han Sans CN;
      font-weight: bold;
      color: #23a26c;
      border-bottom: 1px solid #23a26c;
      margin: 0 auto;
      text-align: center;
    }
    .shops {
      .shop-list {
        width: 240px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        margin-top: 12px;
        .cover {
          width: 128px;
          height: 82px;
          background: #ffffff;
          border-radius: 0px 0px 0px 0px;
          opacity: 1;
          border: 1px solid #707070;
          img {
            display: block;
            width: 100%;
            height: 100%;
          }
        }
        .info {
          display: flex;
          flex-direction: column;
          align-items: center;
          .name {
            height: 17px;
            font-size: 18px;
            font-family: Segoe UI-Semibold, Segoe UI;
            font-weight: 600;
            color: #303133;
          }
          .ck {
            width: 92px;
            height: 35px;
            background: #23a26c;
            border-radius: 22px 22px 22px 22px;
            opacity: 1;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 15px;
            color: #fff;
            .num {
              font-size: 12px;
              margin-left: 10px;
            }
          }
        }
      }
    }
  }
}
